package com.fit.dao.sold_product;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.fit.entities.Sold_product;
import com.fit.entities.Manufacturer;
import com.fit.entities.Product;
import com.fit.entities.User;

public interface SoldDAO {

	@CommitAfter
	public boolean save(Sold_product sold_product);
	
	public Sold_product findById(Long id);
	
	public List<Sold_product>  findAll();
	
	@CommitAfter
	public boolean deleteById(Long id);

	@CommitAfter
	public boolean update(Sold_product bill);
	
	@CommitAfter
	public boolean save1(Long l);
	
//	public Manufacturer findByIdAndCompany(Long id, String company);

}
